#页面类
from Day18.Page import Page
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from time import sleep

class jiuxian(Page):
    #点击国台
    guotai=(By.XPATH,'/html/body/div[4]/div/div[2]/div[2]/p/a[6]')

    def search(self):
        #点击国台
        self.click(self.guotai)
        sleep(5)

    def luoji_jiuxian_02(self):
        # self.open_url('https://www.jiuxian.com/')
        # self.luoji_jiuxian_01()
        self.search()
        sleep(5)